package com.itheima.service;

import com.itheima.DTO.SysRoleDTO;
import com.itheima.VO.SysRoleVO;
import com.itheima.entity.SysRole;
import com.itheima.json.PageBean;

import java.util.List;

public interface SysRoleService {
    PageBean page(Integer page, Integer limit, String name);

    List<SysRole> allData();

    void insertSysRole(SysRole sysRole);

    void deleteRoleById(String id);

    SysRoleVO selectRoleById(String id);

    void update(SysRole sysRole);
}
